package com.kehutong.admin.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: ChargeFapiao
 * @author: joneron
 * @create: 2021/7/12
 **/
@Table(value="sys_invoice", comment="企业发票", idType = IDType.TIMESTAMP)
public class Invoice extends DataEntity {

    protected Invoice(String id) {
        super(id);
    }

    @Column(comment="企业名称", length = 64)
    private String companyName;

    @Column(comment="企业税号")
    private String companyDuty;

    @Column(comment="企业地址")
    private String companyAddress;

    @Column(comment="企业电话")
    private String companyTel;

    @Column(comment="开户银行")
    private String bankType;

    @Column(comment="银行账号")
    private String bankNo;

    @Column(comment="收票人手机")
    private String ticketMobile ;

    @Column(comment="收票人邮箱")
    private String ticketEmail;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyDuty() {
        return companyDuty;
    }

    public void setCompanyDuty(String companyDuty) {
        this.companyDuty = companyDuty;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyTel() {
        return companyTel;
    }

    public void setCompanyTel(String companyTel) {
        this.companyTel = companyTel;
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public String getTicketMobile() {
        return ticketMobile;
    }

    public void setTicketMobile(String ticketMobile) {
        this.ticketMobile = ticketMobile;
    }

    public String getTicketEmail() {
        return ticketEmail;
    }

    public void setTicketEmail(String ticketEmail) {
        this.ticketEmail = ticketEmail;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }
}
